package com.henu.cee_service.service;

import com.henu.cee_service.entity.User;
import com.henu.cee_service.vo.req.LoginReqVO;
import com.henu.cee_service.vo.req.RegisterReqVO;
import com.henu.cee_service.vo.req.UserPageReqVO;
import com.henu.cee_service.vo.resq.LoginRespVO;
import com.henu.cee_service.vo.resq.PageVO;

/**
 * @author jsm
 * @create 2020-02-28 15:46
 */
public interface UserService {
    
    LoginRespVO login(LoginReqVO vo);

    String register(RegisterReqVO vo);
    /**
     * description: logout
     * version: 1.0
     * date: 2020/2/28 16:15
     * author: JSM
     * 
     * @param accessToken
     * @param refreshToken
     * @return void
     */
    void logout(String accessToken, String refreshToken);

    PageVO<User> pageInfo(UserPageReqVO vo);
    
}
